package com.example.leetcode.matrix;

import com.example.leetcode.matrix.common.MatrixUtils;

import java.util.Arrays;

class Solution6440 {
    public int[][] differenceOfDistinctValues(int[][] grid) {
        return MatrixUtils.differenceOfDistinctValues(grid);
    }
}

public class leetcode6440 {
    public static void main(String[] args) {
        Solution6440 solution6440 = new Solution6440();
        int[][] grid = {{1, 2, 3}, {3, 1, 5}, {3, 2, 1}};
        int[][] grid1 = {{1}};
        System.out.println(Arrays.deepToString(solution6440.differenceOfDistinctValues(grid)));
        System.out.println(Arrays.deepToString(solution6440.differenceOfDistinctValues(grid1)));
    }
}
